package org.huifei.a20_visitor;

/**
 * @author: huifei
 * @date: 2017-09-04 13:31
 * accept方法，接受将要访问它的对象，getSubject()获取将要被访问的属性
 */
public interface Subject {
    public void accept(Visitor visitor);
    public String getSubject();
}
